package com.nineclock.system;

import com.nineclock.common.entity.Result;
import com.nineclock.model.dto.SysCompanyContactConfigDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@Api(value = "企业通讯录字段配置管理", tags = "系统管理", description = "企业通讯录")
public interface SysCompanyContactConfigControllerApi {
    @ApiOperation(value = "添加通讯录字段")
    public Result addCompanyContactConfig(SysCompanyContactConfigDTO sysCompanyContactConfigDTO);

    @ApiOperation(value = "查询通讯录字段")
    public Result<List<SysCompanyContactConfigDTO>> queryCompanyContactConfig();
    @ApiOperation(value = "修改通讯录字段")
    public Result updateCompanyContactConfigStatus(@PathVariable("id") Long id, @PathVariable("status") Short status);
    @ApiOperation(value = "删除通讯录字段")
    public Result deleteCompanyContactConfig(@PathVariable("id") Long id);
}
